﻿using System;
using System.Collections.Generic;
using System.Text;

namespace queue
{
    public class Person
    {
        private int _Id;            //编号 
        private string _name;
        private DateTime _InTime;   //进店时间
        private int _ServerTime;    //需要服务时间
        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }        

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }        

        public DateTime InTime
        {
            get { return _InTime; }
            set { _InTime = value; }
        }       

        public int ServerTime
        {
            get { return _ServerTime; }
            set { _ServerTime = value; }
        }
        public Person(int id,string name,DateTime intime,int servertime)
        {
            this._Id = id;
            this._name = name;
            this._InTime = intime;
            this._ServerTime = servertime;
        }
    }
}
